package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.UmsRoleMenuRelation;

import java.util.List;

/**
 * @author xyiaao
 * @description 针对表【ums_role_menu_relation(后台角色菜单关系表)】的数据库操作Api
 * @createDate 2022-03-29 19:46:09
 */
public interface UmsRoleMenuRelationApi extends IService<UmsRoleMenuRelation> {

    List<UmsRoleMenuRelation> findByIds(List<Long> list);

    void delete(List<Long> list);

    List<UmsRoleMenuRelation> findByRoleId(Integer roleId);

    void deleteByRoleId(Integer roleId);

}
